<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery-3.5.1.min.js"></script>
		<script>
			$(document).ready(function(){
				$("p").bind("click",function(){
					alert($(this).html());
					$("p").unbind("click");
				});
				
			})
		</script>
	</head>
	<body>
		<p>aaa</p>
		<p>bbb</p>
		<p>ccc</p>
		<p>ddd</p>
	</body>
</html>
